![]() |
YNQ
YNQ-1.5.0
|
Data Structures | |
| struct | CCNetShareItemA |
| struct | CCNetShareItem |
| struct | CCNetServerItem |
| struct | CCNetDomainItem |
This function defines the name of domain/workgroup that will be used as the default in subsequent calls to ccNetwork methods.
| domain | The name of the default domain/workgroup to be used in subsequent calls. |
This function defines the name of domain/workgroup that will be used as the default in subsequent calls to ccNetwork methods.
| domain | The name of the default domain/workgroup to be used in subsequent calls. |
| void ccNetworkCacheSet | ( | NQ_UINT32 | timeout | ) |
This function sets network browsing cache state.
Network browsing cache is enabled by default.
| timeout | Timeout/ttl value for entry cache (0 to disable cache) |
| const NQ_CHAR* ccNetworkGetDefaultDomainA | ( | ) |
This function is called by application to get the name of the workgroup/domain that CIFS Client will use by default. This default will be used in those CIFS Client functions where workgroup/domain is not explicitly specified.
| const NQ_WCHAR* ccNetworkGetDefaultDomain | ( | ) |
This function is called by application to get the name of the workgroup/domain that CIFS Client will use by default. This default will be used in those CIFS Client functions where workgroup/domain is not explicitly specified.
| NQ_HANDLE ccNetworkEnumerateDomains | ( | void | ) |
This function is called by application to start enumerating domains/workgroups. It executes necessary transactions to withdraw domains/workgroups announced on the network. After successful return from this call, NQ Client creates a list of domains/workgroups designated by an abstract handle.
Application may withdraw domain/workgroup names one by one by calling ccNetworkGetNextDomainItem() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| CCNetDomainItem* ccNetworkGetNextDomainItem | ( | NQ_HANDLE | handle | ) |
Application calls this function after successfully starting a domain enumeration (ccNetworkEnumerateDomains()).
Application may withdraw CCNetDomainItem Items one by one by calling ccNetworkGetNextDomainItem() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| handle | Enumeration handle as obtained in one of Browser enumeration calls. |
This function is called by application to start enumerating servers of a particular domain/workgroups. It executes necessary transactions to withdraw the server list. After successful return from this call, NQ Client creates a list of servers designated by an abstract handle.
Application may withdraw server names one by one by calling ccNetworkGetNextItemName() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| domain | Domain/workgroup name. This call will return a list of servers for this domain/workgroup. When domain name not supplied the default one will be used see ccNetworkSetDefaultDomain(), in addition all hosts discoverable over WS-Discovery will be returned. |
This function is called by application to start enumerating servers of a particular domain/workgroups. It executes necessary transactions to withdraw the server list. After successful return from this call, NQ Client creates a list of servers designated by an abstract handle.
Application may withdraw server names one by one by calling ccNetworkGetNextItemName() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| domain | Domain/workgroup name. This call will return a list of servers for this domain/workgroup. When domain name not supplied the default one will be used see ccNetworkSetDefaultDomain(), in addition all hosts discoverable over WS-Discovery will be returned. |
| CCNetServerItem* ccNetworkGetNextServerItem | ( | NQ_HANDLE | handle | ) |
Application calls this function after successfully starting a server enumeration (ccNetworkEnumerateServers()).
Application may withdraw CCNetServerItem Items one by one by calling ccNetworkGetNextServerItem() with the handle obtained in the current call. When finished with server enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| handle | Enumeration handle as obtained in one of Browser enumeration calls. |
This function is called by application to start enumerating shares on a particular server. It executes necessary transactions to withdraw the list of shares. After successful return from this call, NQ Client creates a list of shares designated by an abstract handle.
Application may withdraw share names one by one by calling ccNetworkGetNextItemName() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| server | Server name. This call will return a list of shares for this server. |
This function is called by application to start enumerating shares on a particular server. It executes necessary transactions to withdraw the list of shares. After successful return from this call, NQ Client creates a list of shares designated by an abstract handle.
Application may withdraw share names one by one by calling ccNetworkGetNextItemName() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| server | Server name. This call will return a list of shares for this server. |
Application calls this function after successfully starting a browser enumeration ( ccNetworkEnumerateDomains(),ccNetworkEnumerateServers() or ccNetworkEnumerateShares()). Application may withdraw share names one by one by calling ccNetworkGetNextItemName() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| handle | Enumeration handle as obtained in one of Browser enumeration calls. |
Application calls this function after successfully starting a browser enumeration (ccNetworkEnumerateDomains(), ccNetworkEnumerateServers() or ccNetworkEnumerateShares()). Application may withdraw share names one by one by calling ccNetworkGetNextItemName>() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| handle | Enumeration handle as obtained in one of Browser enumeration calls. |
| CCNetShareItem* ccNetworkGetNextShareItem | ( | NQ_HANDLE | handle | ) |
Application calls this function after successfully starting a share enumeration (ccNetworkEnumerateShares()).
Application may withdraw CCNetShareItem Items one by one by calling ccNetworkGetNextShareItem() with the handle obtained in the current call. When finished with domain enumeration, application must call ccNetworkCloseHandle() to release resources associated with this handle.
| handle | Enumeration handle as obtained in one of Browser enumeration calls. |
| NQ_BOOL ccNetworkGetShareInfoA | ( | const NQ_CHAR * | server, |
| const NQ_CHAR * | share, | ||
| NQ_UINT16 * | type, | ||
| NQ_CHAR * | remarkBuffer, | ||
| NQ_INT | bufferSize | ||
| ) |
This function is called by application to get information about a particular share on the specified host.
| server | Server name. |
| share | Share name. |
| type | Share types as:
|
| remarkBuffer | Buffer to place the share remark into. |
| bufferSize | Size of the remark buffer. The recommended value is 256 characters. |
| NQ_BOOL ccNetworkGetShareInfo | ( | const NQ_WCHAR * | server, |
| const NQ_WCHAR * | share, | ||
| NQ_UINT16 * | type, | ||
| NQ_WCHAR * | remarkBuffer, | ||
| NQ_INT | bufferSize | ||
| ) |
This function is called by application to get information about a particular share on the specified host. Parameters
| server | Server name. |
| share | Share name. |
| type | Share types as:
|
| remarkBuffer | Buffer to place the share remark into. |
| bufferSize | Size of the remark buffer. The recommended value is 256 characters. |
This function is called by application to finish a browser enumeration and release all resources (e.g., - item names) associated with that enumeration.
| handle | An abstract handle as obtained from one of the browser enumeration calls. |
This function is called by application to restart a browser enumeration designated by an abstract handle. If this handle was already used in one or more of the ccNetworkGetNextItemName() calls, NQ Client will revert it to the state it has right after the respective Browser enumeration call (see below).
| handle | An abstract handle as obtained from one of the browser enumeration calls. |